package com.AEWMS.Test;

import com.AEWMS.Dao.AttendWarnRank;
import com.AEWMS.Service.AttendWarningRankService;
import com.alibaba.fastjson.JSON;

public class WarnTest {
    public static void main(String[] args) {
        AttendWarningRankService w = new AttendWarningRankService();
        AttendWarnRank r = new AttendWarnRank();
//        System.out.println(JSON.toJSONString(w.findAllWarn()));
//        System.out.println(JSON.toJSONString(w.findWarnRankById("1")));
        r.setWarningId(5);
        r.setWarningRank("粉色预警");
        r.setWarningStandardStart(1);
        r.setWarningStandardEnd(10);
        System.out.println(JSON.toJSONString(w.deleteWarnRankById("5")));


    }
}
